<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text" value="{$row.title}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Keywords')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-keywords" class="form-control" name="row[keywords]" type="text" value="{$row.keywords}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-desc" class="form-control " rows="5" name="row[desc]" cols="50">{$row.desc}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hotwords')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hotwords" class="form-control" name="row[hotwords]" type="text" value="{$row.hotwords}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Streetimg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div>图片大小:228 x 138 (px)(格式为 gif, jpg, jpeg, png)</div>
            <div class="input-group">
                <input id="c-streetimg" class="form-control" size="50" name="row[streetimg]" type="text" value="{$row.streetimg}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-streetimg" class="btn btn-danger plupload" data-input-id="c-streetimg" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-streetimg"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-streetimg" class="btn btn-primary fachoose" data-input-id="c-streetimg" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-streetimg"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-streetimg"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Banner')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div>图片大小:1920 x 110 (px)(格式为 gif, jpg, jpeg, png)</div>
            <div class="input-group">
                <input id="c-banner" class="form-control" size="50" name="row[banner]" type="text" value="{$row.banner}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-banner" class="btn btn-danger plupload" data-input-id="c-banner" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-banner"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-banner" class="btn btn-primary fachoose" data-input-id="c-banner" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-banner"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobilebanner')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div>图片大小:414 x 190 (px)(格式为 gif, jpg, jpeg, png)</div>
            <div class="input-group">
                <input id="c-mobilebanner" class="form-control" size="50" name="row[mobilebanner]" type="text" value="{$row.mobilebanner}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-mobilebanner" class="btn btn-danger plupload" data-input-id="c-mobilebanner" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-mobilebanner"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-imobilebanner" class="btn btn-primary fachoose" data-input-id="c-mobilebanner" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-mobilebanner"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ads')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div> 图片大小:1200 x 400 (px)(格式为 gif, jpg, jpeg, png) </div>
            <div class="input-group">
                <textarea id="c-ads" class="form-control" rows="3" name="row[ads]" >{$row.ads}</textarea>
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-ads" class="btn btn-danger plupload" data-input-id="c-ads" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-ads"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-ads" class="btn btn-primary fachoose" data-input-id="c-ads" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-ads"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Adsurl')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-adsurl" class="form-control " name="row[adsurl]" value='{$row.adsurl}'>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Servicer')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-servicer" class="form-control" name="row[servicer]" type="text" value="{$row.servicer}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
